import 'package:flutter/material.dart';
import 'package:helloworld/route/route.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      onGenerateRoute: onGenerateRoute,
      initialRoute: '/login',
      theme: ThemeData(primaryColor: Colors.lightBlueAccent),
      darkTheme: ThemeData.dark(),
      themeMode: ThemeMode.system,
    );
  }
}
